/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.aaron.platform.common;

/**
 *
 * @author mac
 */
public class ItscCheckedException extends Exception {

    /* error code */
    protected int errorCode = 0;

    /**
     * Creates a new instance of <code>ItsfException</code> without detail message.
     */
    public ItscCheckedException(int errorCode) {
        super();
        this.errorCode = errorCode;
    }

    public ItscCheckedException(int errorCode, String errMessage){
        super(errMessage);
        this.errorCode = errorCode;
    }

    public int getErrorCode()
    {
        return this.errorCode;
    }
}

